#! /bin/bash -e

faust2svg $@

for d in $@; do
    for f in ${d%.dsp}-svg/*.svg; do
        inkscape -E ${f%.svg}.eps $f
        rm $f
    done
    mv ${d%.dsp}-svg ${d%.dsp}-eps
done

